<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">产品名称：</div>
			<div class="col-sm-8">{{product.productName}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">产品类型：</div>
			<div class="col-sm-8">{{product.productTypeName}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">产品产地：</div>
			<div class="col-sm-8">{{product.productAddress}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">产品属地：</div>
			<div class="col-sm-8">{{product.productLocation}}</div>
		</div>
	</div>
</li>
{{#if login}}
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">产品价格：</div>
			<div class="col-sm-8">{{product.productPrice}}</div>
		</div>
	</div>
</li>
{{/if}}
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">数　　量：</div>
			<div class="col-sm-8">{{product.productNum}}</div>
		</div>
	</div>
</li>
{{#if product.groupSaleType}}
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">组团确认数量：</div>
			<div class="col-sm-8">{{product.groupSaleType}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">组团待定数量：</div>
			<div class="col-sm-8">{{product.groupSaleType}}</div>
		</div>
	</div>
</li>
{{/if}}
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">描　　述：</div>
			<div class="col-sm-8">{{product.productDesc}}</div>
		</div>
	</div>
</li>
{{#if login}}
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">手机号码：</div>
			<div class="col-sm-8">{{product.person.cellphone}}</div>
		</div>
	</div>
</li>
<li>
	<div class="divline">
		<div class="form-group">
			<div class="col-sm-4">联&nbsp;&nbsp;系&nbsp;&nbsp;人：</div>
			<div class="col-sm-8">{{product.person.contactor}}</div>
		</div>
	</div>
</li>
{{#if product.groupSaleType}}
<li id="kgroups{{identify}}">
<div class="divline">
	<form id="kgroupsform{{identify}}" action="/product/doGroups.html?_={{identify}}" method="POST">
		<input type="hidden" name="productGroup.productId" value="{{product.id}}"/>
		<div class="form-group" style="margin-bottom:0px;">
			<div class="col-sm-4" style="padding-top:3px;">参与组团数量：</div>
			<div class="col-sm-8">
				<input type="text" id="kgroupinput{{identify}}" name="productGroup.groupNum" value=""/>
			</div>
		</div>
		<script type="text/javascript" id="textvalueid{{identify}}">
			$('#textvalueid{{identify}}').remove();
		</script>
	</form>
</div>
</li>
<li id="kgroupsopt{{identify}}" style="padding:3px 3px 3px 3px;">
	<button type="button" id="dogroup{{identify}}" class="btn btn-default btn-lg btn-block">参与组团</button>
	<script type="text/javascript" id="scriptid{{identify}}">
		$('#dogroup{{identify}}').click(function() {
			var v = $('#kgroupinput{{identify}}').val();
			if ('' == $.trim(v)) {
				Global.longToast('请输入参与组团的数量!');
				return false;
			}
			Global.confirm('确认参与组团', function() {
				var $form = $('#kgroupsform{{identify}}');
				$.ajax({
					type: $form.attr('method'),
					url: $form.attr('action'),
					data: $form.serialize(),
					success: function(html) {
						$('#kgroups{{identify}}').remove();
						$('#kgroupsopt{{identify}}').html(html);
					}
				});
			});
		});
		$('#scriptid{{identify}}').remove();
	</script>
</li>
{{/if}}
{{/if}}
<li class="list-divider">产品图片</li>
{{#each product.ids}}
<li style="padding:6px 3px 3px 3px;">
	<img onerror="imgLoadError(this);" src="{{HB_GLOBAL_CONTEXT_PATH}}/assistant/image.html?id={{this}}" class="img-responsive img-rounded" width="100%" height="100%" />
</li>
{{else}}
<li>
	  <p>暂无图片</p>
</li>
{{/each}}